null {30}.
A=-24576;B=-22858;for N=Ato B;%(N)=KP;next N;%(20050)=B;:return ;NT=0;run 
{1}null .
{2}null .
{3}null .
{4}null .
{5}null :return 
{6}null .MATH TEACHER
{7}null .J DUNSON
{8}null .REV 2/81
{9}null E=420;F=430;G=450;H=330;I=390;J=400;K=410;N=360;O=370;Q=440
{10}null NT=0;gosub F;clear ;&(9)=168;gosub Q;print ;print ;print "*>    right MATH TEACHERleft     <*";CY=-24;print " + - mul  div  PUSH GO! div  mul  - +";gosub E
{20}null for D=1to 2000;if &(23)=1gosub F;goto 40
{30}null next D;FC=BC-7;goto 20
(null clear ;print ;print ;print "*>  HOW MANY WOULD YOU  <*     LIKE THIS TIME?";gosub E
2null CX=-6;input ""P;if (P<1)+(P>100)print "right  FROM  1 to 100 PLEASE! left ";goto 50
<null gosub F;clear ;print ;print "*>  SELECT SKILL LEVEL  <*";print ;gosub G;print "1. (1 to 5)";gosub G;print "2. (1 to 10)";gosub G;print "3. (1 to 12)
Fnull gosub G;print "4. (5 to 12)";gosub G;print "5. (9 to 12)";gosub G;print "6. (12 to 20)";gosub E;M=KP;gosub F
Pnull clear ;print ;print "*>    MAKE SELECTION    <*";print ;gosub G;print "1. ADD";gosub G;print "2. SUBTRACT";gosub G;print "3. MULTIPLY";gosub G
Znull print "4. DIVIDE";gosub G;print "5. MIXED";gosub E;T=KP
a null R=0;W=0;L=P+1;clear 
goto null clear ;if R+W>P-1gosub F;goto 460
{120}null if M=49A=rnd (5);B=rnd (5)
{-126}null if M=50A=rnd (10);B=rnd (10)
{-116}null if M=51A=rnd (12);B=rnd (12)
{-106}null if M=52A=rnd (8)+4;B=rnd (8)+4
{-96}null if M=53A=rnd (4)+8;B=rnd (4)+8
{-86}null if M=54A=rnd (8)+12;B=rnd (8)+12
{-76}null if T=49goto 250
{-66}null if T=50goto 270
{-56}null if T=51goto 290
{-46}null if T=52goto 310
{-36}null S=rnd (4);if S=2goto 270
{-26}null if S=3goto 290
{-16}null if S=4goto 310
{-6}null gosub H;gosub N;print #1,A,"+",B,"=",;input ""C;if A+B=Cgoto I
{4}{1}gosub J;print #2,A+B;gosub K;goto 250
{14}{1}gosub H;gosub N;print #1,A+B,"-",B,"=",;input ""C;if A=Cgoto I
{24}{1}gosub J;print #2,A,;gosub K;goto 270
"{1}gosub H;gosub O;print #1,A,"mul ",B,"=",;input ""C;if Amul B=Cgoto I
,{1}gosub J;print #2,Amul B;gosub K;goto 290
6{1}gosub H;gosub O;print #1,Amul B,"div ",B,"=",;input ""C;if A=Cgoto I
@{1}gosub J;print #2,A;gosub K;goto 310
J{1}L=L-1;CX=-6;CY=38;print #1,L;gosub Q;box 0,0,84,40,1;box 0,0,72,32,2;X=-15;CY=0;if A>9X=X-3
T{1}if B>9X=X-3
up {1}return 
list {1}if A+B>9X=X-3;CX=X;return 
for {1}if Amul B>9X=X-3;if Amul B>99X=X-3
{124}{1}CX=X;return 
{-122}{1}CX=-18;print "CORRECT!";R=R+1;for D=1to 200;next D;goto 110
{-112}{1}CY=-32;print " CORRECT ANSWER IS ",;return 
{-102}{1}for D=1to 500;next D;W=W+1;return 
{-92}{1}for D=0to 176;&(10)=D;next D;return 
{-82}{1}for D=176to 0step -1;&(10)=D;next D
{-72}{1}BC=rnd (32)mul 8;FC=BC-1;return 
{-62}{1}CX=-40;return 
{-52}{1}print ;print "*>     SESSION OVER     <*";print ;print " RIGHT ANSWERS: ",#1,R;print " WRONG ANSWERS: ",#1,W
{-42}{1}print ;print ;print " for A REPEAT, PUSH.....1";print " for DIFFERENT, PUSH....2";gosub E
{-32}{1}for D=1to 2000;if &(23)=8goto 100
{-22}{1}if &(22)=8gosub F;goto 40
{-12}{1}next D;FC=BC-7;goto 480
null {-1}null null null null (.
A=-24576;B=-22773;for N=Ato B;%(N)=KP;next N;%(20050)=B;:return ;NT=0;run 